package com.luomu.base.api.cookBook.excel.service;

import com.luomu.base.api.bo.RspBaseBO;
import com.luomu.base.api.cookBook.address.bo.CommonRspBO;
import com.luomu.base.api.cookBook.address.bo.ExpressParseAddressReqBO;
import com.luomu.base.api.cookBook.address.bo.ExpressParseAddressRspBO;
import com.luomu.base.api.cookBook.excel.bo.*;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ExpressAddressExcelService {

    /**
     * 地址导入
     */
    @ResponseBody
    @PostMapping(value = "/importAddressExcel",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    AddressInfoImportRspBO importAddressExcel(@RequestPart("file") MultipartFile file, @RequestParam("openId")Long openId, @RequestParam("agentId")String AgentId);

}
